import { defHttp } from '/@/utils/http/axios';
import { OperateLogListModel, OperateLogListQueryParam } from '../model';

enum Api {
  GetList = '/log/find',
}

/**
 * @description: 日志列表
 */
export const getList = (params: OperateLogListQueryParam) => {
  return defHttp.get<OperateLogListModel>({ url: Api.GetList, params });
};
